package com.ehome.poct.core.dao.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 订单详细表
 */
@Data
@Accessors(chain = true)
@TableName(value = "test_order_item")
public class TestOrderItemDO extends BaseEntityOld<TestOrderItemDO> {
    /**
     * 主键ID
     */
    @TableId(value = "test_order_item_id")
    private Long testOrderItemId;

    /**
     * 订单项名称
     */
    @TableField(value = "order_item_name")
    private String orderItemName;

    /**
     * 检测订单号
     */
    @TableField(value = "test_order_no")
    private String testOrderNo;

    /**
     * 检测报告主键ID
     */
    @TableField(value = "test_poct_report_id")
    private Long testPoctReportId;

    /**
     * 检测费用
     */
    @TableField(value = "fee")
    private BigDecimal fee;

    /**
     * 报告类型 (1：单测 2：联测)
     */
    @TableField(value = "test_poct_report_type")
    private Integer testPoctReportType;

    /**
     * 报告编码
     */
    @TableField(value = "test_report_type_code")
    private String testReportTypeCode;

    /**
     * 检测类型
     */
    @TableField(value = "strip_type_code")
    private Integer stripTypeCode;

    /**
     * 报告编码
     */
    @TableField(value = "promotion_id")
    private Long promotionId;

    /**
     * 价格方案ID
     */
    @TableField(value = "profit_id")
    private Long profitId;
}